<template>
<div> 
  <div class="line-control displayflex" @click="reset">
    <div class="name flex1">修改密码</div>
    <i class="iconfont icon-arrow"></i>
  </div>
  <div class="exit-btn" @click="edit">退出登录</div>
</div>
</template>

<script>
export default{
  data(){
    return {
    }
  },
  methods:{
    reset(){
      this.$router.push({
        path:'/reset'
      })
    },
    edit(){
      localStorage.clear();
      this.$router.push({
        path:'/login'
      })
    }
  }
}
</script>